package com.ruoyi.gcgl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出差申请单对象 gc_ccsq
 * 
 * @author ruoyi
 * @date 2025-09-01
 */
public class GcCcsq extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    private String orderNo;

    /** 事由 */
    @Excel(name = "事由")
    private String descs;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date statsAt;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endAt;

    /** 申请人 */
    @Excel(name = "申请人")
    private String sqr;

    /** 申请人时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请人时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sqrAt;

    /** 领导审批 */
    @Excel(name = "领导审批")
    private String ldsp;

    /** 领导审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领导审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ldspAt;

    /** 状态（0待审核，1通过，2拒绝） */
    @Excel(name = "状态", readConverterExp = "0=待审核，1通过，2拒绝")
    private Integer status;

    /** 删除标记 0:删除 1:没删除 */
    @Excel(name = "删除标记 0:删除 1:没删除")
    private Integer deleteFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long gcProjectid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String gcProjectname;
    
    private String statsAdd;
    
    private String endAdd;
    
    private String type;
    
    public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getStatsAdd() {
		return statsAdd;
	}

	public void setStatsAdd(String statsAdd) {
		this.statsAdd = statsAdd;
	}

	public String getEndAdd() {
		return endAdd;
	}

	public void setEndAdd(String endAdd) {
		this.endAdd = endAdd;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setDescs(String descs) 
    {
        this.descs = descs;
    }

    public String getDescs() 
    {
        return descs;
    }
    public void setStatsAt(Date statsAt) 
    {
        this.statsAt = statsAt;
    }

    public Date getStatsAt() 
    {
        return statsAt;
    }
    public void setEndAt(Date endAt) 
    {
        this.endAt = endAt;
    }

    public Date getEndAt() 
    {
        return endAt;
    }
    public void setSqr(String sqr) 
    {
        this.sqr = sqr;
    }

    public String getSqr() 
    {
        return sqr;
    }
    public void setSqrAt(Date sqrAt) 
    {
        this.sqrAt = sqrAt;
    }

    public Date getSqrAt() 
    {
        return sqrAt;
    }
    public void setLdsp(String ldsp) 
    {
        this.ldsp = ldsp;
    }

    public String getLdsp() 
    {
        return ldsp;
    }
    public void setLdspAt(Date ldspAt) 
    {
        this.ldspAt = ldspAt;
    }

    public Date getLdspAt() 
    {
        return ldspAt;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }
    public void setGcProjectid(Long gcProjectid) 
    {
        this.gcProjectid = gcProjectid;
    }

    public Long getGcProjectid() 
    {
        return gcProjectid;
    }
    public void setGcProjectname(String gcProjectname) 
    {
        this.gcProjectname = gcProjectname;
    }

    public String getGcProjectname() 
    {
        return gcProjectname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNo", getOrderNo())
            .append("descs", getDescs())
            .append("statsAt", getStatsAt())
            .append("endAt", getEndAt())
            .append("sqr", getSqr())
            .append("sqrAt", getSqrAt())
            .append("ldsp", getLdsp())
            .append("ldspAt", getLdspAt())
            .append("status", getStatus())
            .append("deleteFlag", getDeleteFlag())
            .append("createUser", getCreateUser())
            .append("createAt", getCreateAt())
            .append("updateUser", getUpdateUser())
            .append("updateAt", getUpdateAt())
            .append("gcProjectid", getGcProjectid())
            .append("gcProjectname", getGcProjectname())
            .toString();
    }
}
